/**
 * 
 */
package com.next.muscu.data;

import java.beans.PropertyChangeListener;

/**
 * @author sdelporte
 *
 */
public interface MyDataObject extends java.io.Serializable{
	public boolean copy(MyDataObject o);
	public Integer getId();
	public void Create();
	public void addPropertyChangeListener(PropertyChangeListener listener);
	public void addPropertyChangeListener(String propertyName,PropertyChangeListener listener); 
	public PropertyChangeListener[] getPropertyChangeListeners(); 
	public PropertyChangeListener[] getPropertyChangeListeners(String propertyName); 
	public void removePropertyChangeListener(PropertyChangeListener listener);
	public void removePropertyChangeListener(String propertyName,PropertyChangeListener listener);

}
